package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.baseUserRole;
import com.security.door.model.dto.baseUserRoleDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface baseUserRoleMapper extends MyBaseMapper<baseUserRole> {
    List<baseUserRole> queryListWithPage(baseUserRoleDto entity);

    Integer hasRegister(baseUserRole record);

    List<baseUserRole> selectRoleByUserId(String userid);
}